package com.shoping.common.exception;

import org.springframework.http.HttpStatus;

/**
 * 在业务允许的范围  不报警  HttpStatus=401 code=401
 *
 * @author zengweilong
 */
public class AuthorizedException extends BaseException {

    private static final long serialVersionUID = 4786889797307585459L;

    public AuthorizedException(String errMsg) {
        super(String.valueOf(HttpStatus.UNAUTHORIZED.value()), errMsg);
    }

    public AuthorizedException(String code, String errMsg) {
        super(code, errMsg);
    }
}
